package com.onlyforfun.exchange.util;


public class NumberParse {
	public static double parseMoneyDouble(String str) {
		if (str == null || "".equals(str.trim())) {
			return 0;
		}
		str = str.replace(" 元", "");
		try {
			return Double.parseDouble(str);
		} catch (Exception e) {
			return 0;
		}
	}
}
